﻿using System;
using System.Windows.Forms;

namespace CrossEntropyProject.GUI
{
    public partial class SplashScreen : Form
    {
        private MainForm mf; 

        public SplashScreen()
        {
            InitializeComponent();
             mf = new MainForm();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            this.Close();
        }

        private void SplashScreen_FormClosing(object sender, FormClosingEventArgs e)
        {
            mf.Show();
        }
    }
}
